
package com.comtop.versionchecker.conver;

import java.io.UnsupportedEncodingException;

public class CodeConver {
    
    public static String make8859toGB(String str) {
        try {
            String str8859 = new String(str.getBytes("8859_1"), "GB2312");
            return str8859;
        } catch (UnsupportedEncodingException ioe) {
            return str;
        }
    }
}
